package com.mrjoew.weekend.repositories.bz;

import com.mrjoew.weekend.entities.po.PropertiesCarouselPO;
import com.mrjoew.weekend.repositories.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PropertiesCarouselRepository extends BaseRepository<PropertiesCarouselPO, Integer> {

    /**
     * 根据放置位置获取全部可用
     *
     * @param position 位置类型
     * @return List
     */
    public List<PropertiesCarouselPO> findAllByPosition(Integer position);
}
